package com.itcase.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	private static ApplicationContext act;

	public static void main(String[] args) {
		act = new ClassPathXmlApplicationContext("applicationContext.xml");
		Hello he=(Hello) act.getBean("helloWord");
		he.say();
	}
}
